<template>
  <demoBlock title="文件预览" padding>
    <vcu-uploader v-model="fileList" multiple accept="*" />
  </demoBlock>
</template>

<script>
import { defineComponent, ref, getCurrentInstance } from "vue";

export default defineComponent({
  setup() {
    const { proxy } = getCurrentInstance();
    const fileList = ref([
      { url: `${proxy.serverIp}/images/car.jpg` },
      { url: `${proxy.serverIp}/images/j20.jpg` },
    ]);

    return {
      fileList,
    };
  },
});
</script>
